﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Add.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Operator.Add" %>

<script type="text/javascript" src="/SystemManage/javascripts/jquery.md5.js"></script>
<script type="text/javascript">
function setMd5Value() {
   $('#<%=_password_new.ClientID %>').val($.md5($('#<%=tb_password_1.ClientID %>').val()));
}
</script>

<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, navTabAjaxDone);" action="/SystemManage/Basics/Operator/Add.aspx">

<input id="_password_new" runat="Server" type="hidden" />

<div class="pageContent">
    <div class="pageFormContent" layoutH="56">
        <dl class="nowrap">
            <dt>工号：</dt>
            <dd><asp:TextBox ID="tb_account" Width="200px" runat="server" class="required"></asp:TextBox></dd>
        </dl>
        <dl class="nowrap">
            <dt>姓名：</dt>
            <dd><asp:TextBox ID="tb_username" Width="200px" runat="server" class="required"></asp:TextBox></dd>
        </dl>
        <dl class="nowrap">
            <dt>初始密码：</dt>
            <dd><asp:TextBox ID="tb_password_1" Width="200px" runat="server" MaxLength="32" class="required" TextMode="Password"></asp:TextBox></dd>
        </dl>
        <dl class="nowrap">
            <dt>重复密码：</dt>
            <dd><asp:TextBox ID="tb_password_2"  Width="200px" runat="server" MaxLength="32" class="required" TextMode="Password"></asp:TextBox></dd>
        </dl>
	</div>
	
    <div class="formBar">
		<ul>
			<li><div class="buttonActive"><div class="buttonContent"><button onclick="setMd5Value()" type="submit">保存</button></div></div></li>
			<li>
				<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
			</li>
		</ul>
	</div>
</div>
</form>

